{include file="header.html"}
<div> 
<ul class="nav nav-tabs">
<li class="active"><a href="{$appadmin}?m=kucun_admin&shopid={$shop.kcid}">库存账户管理</a></li>
{if $shop}<li><a href="{$appadmin}?m=kucun_admin&a=add&shopid={$shop.kcid}">添加</a></li>{/if}
</ul>
<div>当前店铺：{$shop.title}</div>
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   
   <td>所属库存</td>
   <td>管理员</td>
   <td>昵称</td> 
   <td>电话</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.adminid}</td>
    
   <td>{$c.kc_title}</td>
   <td>{$c.adminname}</td>
    <td>{$c.nickname}</td>
   <td>{$c.telephone}</td>
   
<td>
<a href="{$appadmin}?m=kucun_admin&a=add&adminid={$c.adminid}&shopid={$c.shopid}">编辑账户</a>
<a href="{$appadmin}?m=kucun_admin&a=password&adminid={$c.adminid}&shopid={$c.shopid}">修改密码</a>

{if $c.typeid neq 1}
<a href="{$appadmin}?m=kucun_admin_area&adminid={$c.adminid}&shopid={$c.shopid}">楼栋授权</a>
{/if}
</td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}